package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wswdkl
 * @version 1.0
 * @date 2022/2/12 10:32
 */
public interface DamageListGoodsDao {
    /**
     * 插入商品报损单
     * @param damageList
     */
    void saveDamageList(@Param("damageList") DamageList damageList);

    void saveDamageListGoods(@Param("damageListGoodsArrayList") List<DamageListGoods> damageListGoodsArrayList);

    List<DamageList> queryDamageList(@Param("sTime") String sTime, @Param("eTime") String eTime);

    List<DamageListGoods> queryDamageGoodsList(@Param("damageListId") Integer damageListId);
}
